package com.axon.lemon

class CommentController {

    static scaffold=true
	
	
	def listAllComment(){
//		def a = new Comment()
//		a = Comment.get("27")
//		print(a.content)
//		
//		[cmts:a]
	
	}
/*	def saveComment(){		
		print("asdas");
		try{
			//String loction = request.getParameter("contentcm");			
			//render "ssd"
			
			//def CM = params.contentcm
			//print(CM+" test")
		//	listAllComment()
		//	[cmts:listAllComment()]
			render "abc";
		}catch(Exception e){
		print(e.getMessage())
		}
	//render(view:"favouritePage","abc")
	/*	render {
				div(id:"listALlComment", "some text inside the div")
		}
	*/
	}



